package com.roin.learn.activiti.entity;

import com.roin.learn.activiti.base.BaseEntity;

public class User extends BaseEntity {
    private Integer id;

    private String userId;

    private String userName;

    private String userPassword;

    private String userEmail;

    private Integer positionId;

    public User(Integer id, String userId, String userName, String userPassword, String userEmail, Integer positionId) {
        this.id = id;
        this.userId = userId;
        this.userName = userName;
        this.userPassword = userPassword;
        this.userEmail = userEmail;
        this.positionId = positionId;
    }

    public User() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public User(Integer id, String userId, String userName, String userPassword, String userEmail, Integer positionId, String positionMc) {
        this.id = id;
        this.userId = userId;
        this.userName = userName;
        this.userPassword = userPassword;
        this.userEmail = userEmail;
        this.positionId = positionId;
        this.positionMc = positionMc;
    }

    /***************非表中字段***************/


    private String positionMc;

    public String getPositionMc() {
        return positionMc;
    }

    public void setPositionMc(String positionMc) {
        this.positionMc = positionMc;
    }

    private int taskCount=0;//个人任务数量

    public int getTaskCount() {
        return taskCount;
    }

    public void setTaskCount(int taskCount) {
        this.taskCount = taskCount;
    }
}